from rest_framework import serializers
from myapp.models import User, Authorize, Course, CCScore


class UserSer(serializers.ModelSerializer):
	class Meta:
		model = User
		fields = '__all__'


class AuthSer(serializers.ModelSerializer):
	class Meta:
		model = Authorize
		fields = '__all__'


class CourseSer(serializers.ModelSerializer):
	class Meta:
		model = Course
		fields = '__all__'


class ScoreSer(serializers.ModelSerializer):
	class Meta:
		model = CCScore
		fields = '__all__'
